{block name=head}
    <style type="text/css">

    </style>
{/block}

{block name=body}
    {* Define the function *}
    {function name=render_product_list level=0 parenturl="" menu=0}
        {foreach $items as $item}
            <div class="citem partner">
                <a href="{$item.partner_website}" target="_blank">
                    <img src="{if $item.partner_logo neq ''}{$item.partner_logo}{else}/images/no-image-available.jpg{/if}"
                         alt="{$item.partner_name}" title="{$item.partner_name}" class="img-responsive">
                    <div class="testinfo">
                        <div class="testquote">{$item.partner_name}</div>
                        <div class="testname">{$item.partner_description}</div>
                    </div>
                </a>
            </div>
        {/foreach}
    {/function}
    {if $err neq null}
        <script>
            window.location.href="/error404";
        </script>
    {else}
        <div id="maincont">
            <div class="container">
                <ol class="breadcrumb">
                    <li><a href="/">首页</a></li>
                    <li><a href="/our-program/news-list">新闻</a></li>
                    <li class="active">{$articleInfo[0].title}</li>
                </ol>
                <div class="page-header" style="border-color:#aaa;">
                    <h1 style="margin-bottom:15px;">{$articleInfo[0].title}</h1>
                    <small style="color:#666;text-align:right;display:block;">{$articleInfo[0].start_time}</small>
                </div>
                <div class="col-xs-12" style="font-size:1.2em;" id="newContentCcontainer">
                    {$articleInfo[0].article}
                </div>
            </div>
        </div>
    {/if}
{/block}

{* Place additional javascript here so that it runs after General JS includes *}
{block name=tail}
    <script>
        if(window.innerWidth<992){
            $("#newContentCcontainer img").width("100%");
        }
        $("#maincont img").each(function(){
            var attr=$(this).attr("src");
            $(this).attr("src",attr.replace(/"/g,"").replace(/\/$/g,""));
        });
    </script>
{/block}
